package study.adapter;

public class IdConfirmAdpter implements IdConfirm{

    private OldIdConfirm oldIdConfirm;

    public IdConfirmAdpter(IdConfirm idConfirm){

    };

    @Override
    public boolean doIdentify(String applyKey) {

        String apply = oldIdConfirm.apply();

        return oldIdConfirm.doIdentify(apply);
    }
}
